﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

namespace EnblibTest
{
    public static class GetData
    {
        public static Database CreateDataBase() 
        {
            return EnterpriseLibraryContainer.Current.GetInstance<Database>();
        }
    }

    public class Test_User
    {
        string no = "";

        public string No
        {
            get { return no; }
            set { no = value; }
        }

        string name = "";

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        string dept = "";

        public string Dept
        {
            get { return dept; }
            set { dept = value; }
        }
        string sex = "";

        public string Sex
        {
            get { return sex; }
            set { sex = value; }
        }
    }
}
